# coding:utf-8
# Author : hiicy redldw
# Date : 2019/05/16
from keras.applications import vgg16
from keras.models import Model,Input, Sequential
from keras.layers import Conv2D
img_input = Input(shape=(320, 320, 3))

model = vgg16.VGG16(
        include_top=False,weights=None, input_tensor=img_input)

o = Conv2D(
        filters=4096,
        kernel_size=(
            7,
            7),
        padding="same",
        activation="relu",
        name="fc6")(
            model.output)

model = Model(inputs=img_input,outputs=o)
print(model.summary())